<template>
    <div id="app">
        <NavBar></NavBar>
        <router-view></router-view>
        <Footer></Footer>
    </div>
</template>


<script>
    import NavBar from "./components/layout/NavBar";
    import Footer from "./components/layout/Footer";
    export default {
        components: {Footer, NavBar},
    }
</script>

<style scoped lang="less">
    #app{
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin:auto;

        width: 70vw;
        height: 96vh;

        background-color: skyblue;
        border-radius: 20px;
        background-image:url("~@/assets/wave3.gif");
        background-repeat: no-repeat;
        background-size: cover;
    }


    @media screen and (max-width: 768px) {
        #app{
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;

            width: 100vw;

            background-color: skyblue;
            border-radius: 20px;
            background-image:url("~@/assets/wave3.gif");
            background-repeat: repeat;
            background-size: auto;
        }
    }

</style>

<style>
    /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
    ::-webkit-scrollbar
    {
        width: 3px;  /*滚动条宽度*/
        height: 2px;  /*滚动条高度*/
        background-color:gainsboro;
    }

    /*定义滑块 内阴影+圆角*/
    ::-webkit-scrollbar-thumb
    {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: darkblue;  /*滚动条的背景颜色*/
    }

    .el-table th.gutter{   /*解决el-table加了gutter后 边框出现白边*/
        display: table-cell!important;
    }

</style>